﻿<%@ Page Language="vb" AutoEventWireup="false" MasterPageFile="~/main.Master" CodeBehind="WebForm1.aspx.vb" Inherits="moviesblogspot.WebForm1" 
    title="Untitled Page" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">

    <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
</asp:ToolkitScriptManager>

    <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
        ConnectionString="<%$ ConnectionStrings:MovieConnectionString %>" 
        ProviderName="<%$ ConnectionStrings:MovieConnectionString.ProviderName %>" 
        SelectCommand="SELECT [description], [movieID] FROM [moviedetails]"></asp:SqlDataSource>

   
    
    
 <asp:Accordion id="acc1" runat="server" DataSourceID="SqlDataSource1" ContentCssClass="Accordioncontent" HeaderCssClass="Accordionheader">  
<HeaderTemplate>
<a href="" onclick="return false;"><%# Eval("movieID") %></a>
</HeaderTemplate>
<ContentTemplate>
<%# Eval("description") %>
</ContentTemplate>
<Panes>
</Panes>
     
</asp:Accordion> 
    
    

</asp:Content>